//
//  MoviesByCinema.h
//  ShowTimeApp
//
//  Created by Ruby on 10/22/11.
//  Copyright 2011 __MyCompanyName__. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "Cinema.h"
#import "MovieDataModel.h"

@interface MoviesByCinema : UITableViewController {
    Cinema* cinema;
    NSMutableArray *moviesList;
    MovieDataModel *movieDataModel;
    //UIControl for searching function
    UISearchBar *searchBar;
    UISearchDisplayController *searchDC;
    NSMutableArray *filteredMoviesArray;
    NSMutableDictionary *dictionaryMoviesList;
}
@property (retain) NSMutableArray* moviesList,*filteredMoviesArray;
@property (retain) NSMutableDictionary *dictionaryMoviesList;
@property (retain) UISearchBar *searchBar;
@property (retain) UISearchDisplayController *searchDC;
-(id)initWithSelectedCinema:(Cinema*)_Cinema;
-(void)initDataModel;
-(void)getAllMoviesByCinemaSortAscByTitle:(int)cinemaID;
@end
